From: Florian Müllner Date: Thu, 27 Jan 2011 20:56:12 +0000 (+0100) Subject: run-dialog: Center error message vertically X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9178 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9617e83d88649da5154981c362cb2662ff6caf08;p=gnome-shell.git run-dialog: Center error message vertically Commit 912a30c56 left error message and icon aligned to the top, but it looks better when the message is centered vertically. --- diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index a86e9bdd4..5bf578b66 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -232,7 +232,9 @@ __proto__: ModalDialog.ModalDialog.prototype, this._errorMessage = new St.Label({ style_class: 'run-dialog-error-label' }); this._errorMessage.clutter_text.line_wrap = true; - this._errorBox.add(this._errorMessage, { expand: true, y_align: St.Align.MIDDLE }); + this._errorBox.add(this._errorMessage, { expand: true, + y_align: St.Align.MIDDLE, + y_fill: false }); this._errorBox.hide();